package org.loong.crypto.service.core;

import org.loong.crypto.service.core.context.CryptoContext;

public interface CryptoContextAware {

    /**
     * Get the crypto context.
     * 
     * @param <T> the t
     * @return the crypto context
     */
    <T extends CryptoContext> T getCryptoContext();
    
    /**
     * Set the crypto context.
     * 
     * @param cryptoContext the cryptoContext
     */
    void setCryptoContext(CryptoContext cryptoContext);
}
